package com.lagou.edu.mvcframework.annotations;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author leonzhangxf
 */
@Documented
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface LagouInterceptor {

    /**
     * The order of the interceptor to intercept.
     * <p>
     * Would process from low to high
     *
     * @return order of the interceptor.
     */
    int order() default 0;
}
